package top.zackyoung.springboot

import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication

@SpringBootApplication(scanBasePackages = ["top.zackyoung.springboot.*"])
@MapperScan(basePackages =["top.zackyoung.springboot.mapper"])
open class KotlinApplication
    fun main(args: Array<String>) {
        SpringApplication.run(KotlinApplication::class.java, *args)
    }
